package com.tanhua.dubbo.api;

import java.util.List;

/**
 * @author ck
 * @date 2021/11/17 19:20
 */
public interface UserLocationApi {

    //更新地理位置
    Boolean updateaLocation(Long userId, Double longitude, Double latitude, String address);

    //查询附近所有的用户
    List<Long> search(Long userId, Double distance);
}
